package cn.shape;

import java.awt.*;

public class HollowCircleShape extends Shape{

    @Override
    public void draw(Graphics2D g) {
        g.drawOval(Math.min(x1,x2),Math.min(y1,y2),Math.abs(x2-x1),Math.abs(y2-y1));
    }
}
